package com.example.english_test.utils;

public class UserInfo {
    // 静态变量定义
    public static int TODAY_NEED_REVIEW = 0;

    // 获取当前复习量
    public static int getTodayNeedReview() {
        return TODAY_NEED_REVIEW;
    }

    // 设置复习量（仅在满足条件时调用）
    public static void updateTodayNeedReview(int increment) {
        TODAY_NEED_REVIEW += increment;
    }

    // 每日重置（可选，根据需求调用）
    public static void resetTodayNeedReview() {
        TODAY_NEED_REVIEW = 0;
    }
}

